package ai.people.platform.information.timer;

import cn.hutool.core.thread.NamedThreadFactory;
import io.netty.util.HashedWheelTimer;
import io.netty.util.Timer;

/**
 * @author LiGuanNan
 * @date 2022/7/18 17:28
 */
public class TimerSingletonHolder {
    private static Timer instance = new HashedWheelTimer(new NamedThreadFactory("nm-timer-task", true));

    public static Timer getTimerInstance() {
        return instance;
    }
}
